﻿using System;
using WFramework.ORM;
namespace MiniWeb.Core.Entities
{
	
	[TableName("ProductsInfo")]
    [PrimaryKey("ID")]
	public class ProductsInfo
	{   
      			/// <summary>
		/// ID
        /// </summary>
        public int ID {get; set; }
        
				/// <summary>
		/// 商品名称
        /// </summary>
        public string ProductName {get; set; }
        
				/// <summary>
		/// 商品短描述
        /// </summary>
        public string JianJie {get; set; }
        
				/// <summary>
		/// 价格
        /// </summary>
        public decimal Price {get; set; }
        
				/// <summary>
		/// 促销价
        /// </summary>
        public decimal CPrice {get; set; }
        
				/// <summary>
		/// 已销售
        /// </summary>
        public int SellNum {get; set; }
        
				/// <summary>
		/// 库存
        /// </summary>
        public int KuCunNum {get; set; }
        
				/// <summary>
        /// 仓库
        /// </summary>
        public int TotalNum { get; set; }
        
				/// <summary>
		/// 商品概况
        /// </summary>
        public string Des {get; set; }
        
				/// <summary>
		/// 商品大类别
        /// </summary>
        public int ProductsTypeID {get; set; }
        
				/// <summary>
		/// 商品二级类别
        /// </summary>
        public int ProductsClassID {get; set; }
        
				/// <summary>
		/// 创建时间
        /// </summary>
        public DateTime CreateDate {get; set; }
        
				/// <summary>
		/// 是否促销
        /// </summary>
        public bool IsChuXiao { get; set; }
        
				/// <summary>
		/// 是否显示在首页
        /// </summary>
        public bool IsWeb { get; set; }
        
				/// <summary>
		/// 排序
        /// </summary>
        public int Sort {get; set; }
        
				/// <summary>
		/// 是否上价
        /// </summary>
        public bool IsSell {get; set; }
        
				/// <summary>
		/// 是否热卖
        /// </summary>
        public bool IsHot {get; set; }

        public string ProductImg { get; set; }

	}
}